package cn.wolfcode.luowowo.repository;

import cn.wolfcode.luowowo.search.template.DestinationTemplate;
import cn.wolfcode.luowowo.search.template.UserInfoTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DestinationSearchRepository extends ElasticsearchRepository<DestinationTemplate,Long> {
    DestinationTemplate findByName(String name);
}
